package cn.tedu.csmall.commons.pojo.cart.dto; 
 /*
 @Time: 2022/11/11 9:14
 @Author:GShuai
 @File:CartAddDTO.class
 @Software:IntelliJ IDEA
*/

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

// Knife4j框架中解释实体类的注解
@ApiModel("新增购物车商品信息DTO")
@Data
public class CartAddDTO implements Serializable {
    @ApiModelProperty(value = "商品管理",name = "commodityCode", example = "PC100")
    private String commodityCode; //商品编号
    @ApiModelProperty(value = "商品单价",name = "price", example = "188")
    private Integer price; // 商品单价
    @ApiModelProperty(value = "商品个数",name = "count", example = "5")
    private Integer count;  // 商品个数
    @ApiModelProperty(value = "用户ID",name = "userId", example = "UU100")
    private String userId;  // 用户ID
}
